import { defineStore } from 'pinia';

export const btyStore = defineStore({
    id: 'btyStore',
    state: () => ({
        search: ''
    }),
    actions: {
        udpateSearch(newValue){
            this.search = newValue;
        }
    },
    getters: {
        getSearch(){
            return this.search
        }
    }
})